function s5_set_column_heights() {

	if (document.getElementById("s5_middle")) {
	
		if ((s5_right_column_height > s5_left_column_height) && (s5_right_column_height > s5_main_column_height)) {
			s5_tallest_column = s5_right_column_height;
			if (document.getElementById("s5_middle")) {
				document.getElementById("s5_content_wrap").style.height = s5_tallest_column - 20 + "px";
			}

		}
		
		if ((s5_left_column_height > s5_right_column_height) && (s5_left_column_height > s5_main_column_height)) {
			s5_tallest_column = s5_left_column_height;
			if (document.getElementById("s5_middle")) {
				document.getElementById("s5_content_wrap").style.height = s5_tallest_column - 20 + "px";
			}
		}
		
		if ((s5_main_column_height > s5_right_column_height) && (s5_main_column_height > s5_left_column_height)) {
			s5_tallest_column = s5_main_column_height;
		}
		
		document.getElementById("s5_left_shadow").style.height = document.getElementById("s5_middle").offsetHeight -36 + "px";
		document.getElementById("s5_right_shadow").style.height = document.getElementById("s5_middle").offsetHeight -36 + "px";
			
			
			
			if (document.getElementById("s5_inset_column")) {
				if (s5_body_column_height > s5_inset_column_height) {
				s5_tallest_column_component = s5_body_column_height;
				}
				
				if (s5_body_column_height < s5_inset_column_height) {
				s5_tallest_column_component = s5_inset_column_height;
				}
				document.getElementById("s5_inset_column").style.height = "auto";
				document.getElementById("s5_inset_column").style.height = s5_tallest_column_component + "px";
				document.getElementById("s5_body_column").style.height = "auto";
				document.getElementById("s5_body_column").style.height = s5_tallest_column_component + "px";
			}
		
			
	}
	
}

var s5_tallest_column = "";
var s5_tallest_column_component = "";

var s5_right_column_height = 0;
var s5_left_column_height = 0;
var s5_main_column_height = 0;

var s5_body_column_height = 0;
var s5_inset_column_height = 0;

var s5_right_column_height2 = 0;
var s5_left_column_height2 = 0;
var s5_main_column_height2 = 0;

var s5_body_column_height2 = 0;
var s5_inset_column_height2 = 0;

function s5_set_body_height() {

	if (document.getElementById("s5_middle")) {
		s5_main_column_height = document.getElementById("s5_middle_inner").offsetHeight;
	}

	if (document.getElementById("s5_right")) {
		s5_right_column_height = document.getElementById("s5_right_inner").offsetHeight;
	}
	
	if (document.getElementById("s5_left")) {
		s5_left_column_height = document.getElementById("s5_left_inner").offsetHeight;
	}
	
	
	if (document.getElementById("s5_inset_column")) {
		s5_inset_column_height = document.getElementById("s5_inset_column_inner").offsetHeight;
	}
	
	if (document.getElementById("s5_body_column")) {
		s5_body_column_height = document.getElementById("s5_body_column_inner").offsetHeight;
	}
	
	
	
	if (s5_right_column_height2 != s5_right_column_height) {
		s5_set_column_heights();
	}
	
	if (s5_left_column_height2 != s5_left_column_height) {
		s5_set_column_heights();
	}
	
	if (s5_main_column_height2 != s5_main_column_height) {
		s5_set_column_heights();
	}
	
	
	if (s5_body_column_height2 != s5_body_column_height) {
		s5_set_column_heights();
	}
	
	if (s5_inset_column_height2 != s5_inset_column_height) {
		s5_set_column_heights();
	}
	
	
	
	if (document.getElementById("s5_middle")) {
		s5_main_column_height2 = document.getElementById("s5_middle_inner").offsetHeight;
	}

	if (document.getElementById("s5_right")) {
		s5_right_column_height2 = document.getElementById("s5_right_inner").offsetHeight;
	}
	
	if (document.getElementById("s5_left")) {
		s5_left_column_height2 = document.getElementById("s5_left_inner").offsetHeight;
	}
	
	
	if (document.getElementById("s5_inset_column")) {
		s5_inset_column_height2 = document.getElementById("s5_inset_column_inner").offsetHeight;
	}
	
	if (document.getElementById("s5_body_column")) {
		s5_body_column_height2 = document.getElementById("s5_body_column_inner").offsetHeight;
	}
	
}


var s5_body_Interval = 0;
s5_body_Interval = window.setInterval("s5_set_body_height()",200);
